package com.example.othree.common;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class EmailCodeEntity{
    private String emailCode;
    private String username;
    private String email;
    private int times;

    @Override
    public String toString() {
        return "{" +
                "\"emailCode\":\"" + emailCode + "\"," +
                "\"username\":\"" + username + "\"," +
                "\"email\":\"" + email + "\"," +
                "\"times\":" + times +
                "}";
    }
}

